package com.server.adapter;

import java.util.Vector;
import com.data.Interview;
import com.data.User;
import com.server.adapter.UserDataAnalyzer;
import com.server.dao.InterviewDAO;

public class SimpleUDA implements UserDataAnalyzer {
	
	public SimpleUDA() {
		
	}
	public Vector<Interview> getNewInterview(Vector<Interview> intvList, InterviewDAO dao) {
		
		// TODO STUB method: just return a interview, pretend it is a new interview we got from JM
		Vector<Interview> newInterviews = new Vector<Interview>();
		User user = new User("jdoe", "password");
		Interview newOne = new Interview(user, "001520234", "18 JUN 2011");
		newOne.setEmployerName("Sybase Inc.");
		newOne.setJobDescription("This is a new interview.");
		newOne.setJobTitle("Product Manager");
		newOne.setType("In person");
		newOne.setStatus("Screened");
		newOne.setLength(30);
		newOne.setLocation("TC 0030");
		newInterviews.add(newOne);
		
		return newInterviews;
	}

}